package com.bing.decorate;

/**
 * Created by kaibb on 14-7-24.
 */
public class Mocha extends CondimentDecorator {

    @Override
    public double cost() {
        return 0.08 + beverage.cost();
    }

    public Mocha(Beverage beverage) {
        this.beverage = beverage;
        description = "mocha";
    }
}
